import { Entity, PrimaryUuid, CreateDate, UpdateDate, Uuid } from "@sker/sdk";

@Entity({ name: 'sys_addon' })
export class SysAddon {
    @PrimaryUuid()
    id: string;

    aid: number;

    title: string;

    name: string;

    scope: string;

    version: string;

    create_date: Date;

    update_date: Date;

    setting: any;
}

@Entity({
    name: 'sys_addon_menu'
})
export class SysAddonMenu { 
    @PrimaryUuid()
    id: string;

    amid: number;

    title: string;

    url: string;

    addon: string;
}
